.historyList {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.historyList > ul {
    padding: 0;
}

.emptyMessage {
    text-align: center;
    color: var(--text-secondary);
    padding: 1rem;
}

.historyItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    background-color: var(--bg-secondary);
}
.historyItem.active {
    border: 1px solid var(--border-color);
}
.historyItem > button {
    margin-left: 1rem;
}

.historyItem:hover {
    background-color: var(--bg-tertiary);
}

.conversationInfo {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-right: 1rem;
}

.conversationTitle {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.conversationTime {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.confirmDelete,
.confirmClear {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.confirmDelete span,
.confirmClear span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footerControls {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1rem;
    padding: 1rem 1rem 0;
    border-top: 1px solid var(--border-color);
}
